package ModelLayer;



public class SalesLine extends Product
{
    //instance variable
    private int quantity;
    
    /**
     * Empty constructor for testing purposes
     */
    
    public SalesLine()
    {
        quantity = 0;
    }
    
    /**
     * Constructor for object of class Order
     */
    
    public SalesLine(int _quantity)
    {
        quantity = _quantity;
    }
    
    /**
     * Accessor and Mutator methods
     */
    
    public void setQuantity(int _quantity)
    {
        quantity = _quantity;
    }
    
    public int getQuantity()
    {
        return quantity;
    }
}
